package com.yuwubao.uav.tool.service;

import com.yuwubao.framework.bean.PageData;

import java.util.List;

/**
 *
 */
public interface QuestionnaireService {

    void deleteQuestionnaire(PageData pageData) throws Exception;
    void disableOrEnableQuestionnaire(PageData pageData) throws Exception;
    void updateQuestionnaire(PageData pageData) throws Exception;
    void addQuestionnaire(PageData pageData) throws Exception;
    List<PageData> listQuestionnaire(PageData pageData) throws Exception;
    int listQuestionnaireCount(PageData pageData) throws Exception;

    void deleteQuestionnaireSubType(PageData pageData) throws Exception;
    void disableOrEnableQuestionnaireSubType(PageData pageData) throws Exception;
    void updateQuestionnaireSubType(PageData pageData) throws Exception;
    void addQuestionnaireSubType(PageData pageData) throws Exception;
    List<PageData> listQuestionnaireSubType(PageData pageData) throws Exception;
    int listQuestionnaireSubTypeCount(PageData pageData) throws Exception;
    List<PageData> listQuestionnaireSubTypeAll(PageData pageData) throws Exception;

    void deleteQuestionnaireSubject(PageData pageData) throws Exception;
    void disableOrEnableQuestionnaireSubject(PageData pageData) throws Exception;
    void updateQuestionnaireSubject(PageData pageData) throws Exception;
    void addSubjectForQuestionnaire(PageData pageData) throws Exception;
    void addQuestionnaireSubject(PageData pageData) throws Exception;
    List<PageData> listQuestionnaireSubjectAll(PageData pageData) throws Exception;

    void deleteQuestionnaireOption(PageData pageData) throws Exception;
    void disableOrEnableQuestionnaireOption(PageData pageData) throws Exception;
    void updateQuestionnaireOption(PageData pageData) throws Exception;
    void addQuestionnaireOption1(PageData pageData) throws Exception;
    void addQuestionnaireOption(PageData pageData) throws Exception;
    List<PageData> listQuestionnaireOptionAll(PageData pageData) throws Exception;

}
